<?
require_once 'config.php';
$id = getValue('iPage','int','GET',0);
$page = new TemplatePage();
$page_detail = $page->DetailPage($id);
?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="vi" lang="vi" xmlns:og="http://ogp.me/ns#" xmlns:fb="">
<head>
   <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
   <link type="image/x-icon" href="/favicon.ico" rel="icon" />
   <title><?=(showSeoTitle('page_static',$id) != '') ? showSeoTitle('page_static',$id) : $page_detail['pag_title']?></title>
   <meta name="description" content="<?=(showSeoMeta('page_static',$id) != '') ? showSeoMeta('page_static',$id) : $page_detail['pag_summary']?>"/>
   
   <meta property="og:title" content="<?=$page_detail['pag_title']?>" />
   <meta property="og:url" content="<?=DOMAIN.generate_page_detail_url($page_detail)?>" />
   <meta property="og:image" content="<?=DOMAIN.page_static_img.$page_detail['pag_picture']?>" />
   <meta property="og:site_name" content="" />
   <meta property="og:description" content="<?=$page_detail['pag_summary']?>" />
   <!-- css -->   
   <link rel="stylesheet" type="text/css" href="<?=TEMPLATE_PATH?>css/jquery-ui.css" media='all'/>
   <link rel="stylesheet" type="text/css" href="<?=TEMPLATE_PATH?>css/home.css" media='all'/>
   <link rel="stylesheet" type="text/css" href="<?=TEMPLATE_PATH?>css/service.css" media='all'/>
   <link rel="stylesheet" type="text/css" href="<?=TEMPLATE_PATH?>css/contact.css" media='all'/>
   <!-- js -->
   <script type="text/javascript" src="<?=TEMPLATE_PATH?>js/jquery-1.9.0.min.js"></script>
   <script type="text/javascript" src="https://maps.googleapis.com/maps/api/js?key=AIzaSyB8ea5YKiNwimL7biqtxcaki7iLmRnCWBM&sensor=false"></script>
   <script type="text/javascript" src="<?=TEMPLATE_PATH?>js/common.js"></script>
</head>
<body> 
   <div class="global_container">
      <? include('view/common/vic_header.php')?>
      <div class="content_wrap">
         <div class="cumbs_wrap">
            <div class="crumbs width">
               <ul>              
            		<li><a href="/">Trang chủ </a> &nbsp;>&nbsp; </li>
                   
            		<li><a href="<?=DOMAIN.generate_page_detail_url($page_detail)?>"><?=$page_detail['pag_title']?></a> </li>
                  
            	</ul>
               <div class="clear"></div>
            </div>
         </div>
         <div class="content_inner width">
            <div class="services_wrap">              
               <?=$page_detail['pag_detail']?>
            </div>
         </div>
         </div>
         <div class="clear"></div>
      </div>
      <div class="clear"></div>
      <?include('view/common/vic_footer.php')?>
   </div>
</body>
</html>